package com.bjb.vr.common.dto;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @TableName res_device_content
 */
@TableName(value = "res_device_content")
@Data
public class ResDeviceContent extends BaseModel implements Serializable {
    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 租户ID
     */
    @TableField(value = "tenant_id")
    private String tenantId;

    /**
     * 数据ID用于同步
     */
    @TableField(value = "data_id")
    private Long dataId;

    /**
     * 设备唯一标识
     */
    @TableField(value = "udid")
    private String udid;

    /**
     * 安装资源ID
     */
    @TableField(value = "content_id")
    private Long contentId;

    /**
     * 是否安装 0:未安装 1：已安装
     */
    @TableField(value = "install_state")
    private Integer installState;

    /**
     * 资源版本
     */
    @TableField(value = "version")
    private String version;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    private LocalDateTime gmtCreate;

    /**
     * 更新时间
     */
    @TableField(value = "gmt_modified")
    private LocalDateTime gmtModified;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
